package com.zt.ztlibrary;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.zt.ztlibrary.view.RadiusButtonActivity;
import com.zt.ztlibrary.view.StickyHeaderActivity;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void radiusButton(View view) {
        //圆角按钮
        startActivity(new Intent(this, RadiusButtonActivity.class));
    }

    public void stickyHeader(View view) {
        //粘性头
        startActivity(new Intent(this, StickyHeaderActivity.class));
    }
}
